package com.hhkj.admin.conf.model.req;

import com.hhkj.admin.conf.common.validator.commission.ValidateCommissionRate;
import com.hhkj.admin.conf.model.extend.CommissionRate;
import com.ruoyi.common.valid.VAdd;
import com.ruoyi.common.valid.VEdit;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ValidateCommissionRate(groups = {VAdd.class, VEdit.class})
public class CommissionRateReq extends CommissionRate {

    /** 立即生效标识 1-立即生效 0-待生效 **/
    @NotNull(message = "立即生效标识不能为空", groups = {VAdd.class})
    private Integer immediateFlag;
}
